//
// Floor.cpp for bomberman in /home/lefebv_w//workspace/cpp/bomberman/googleCode/level
// 
// Made by damien lefebvre
// Login   <lefebv_w@epitech.net>
// 
// Started on  Sat May 11 17:50:45 2013 damien lefebvre
// Last update Mon May 27 20:20:06 2013 damien lefebvre
//

#include		"Floor.hh"

void			Floor::initialize(void)
{
  m_tex = gdl::Image::load(m_texPath);
 
  m_displaylist = glGenLists(1);
  if (m_displaylist == 0)
    std::cout << "Cannot create display list" << std::endl;
  glNewList(m_displaylist, GL_COMPILE);
  m_tex.bind();
	ABackground::drawRectangle(m_position, m_size);
  glEndList();
}

void			Floor::update(gdl::GameClock const & gameClock, gdl::Input & input)
{}
